﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UDIAdapter.Data
{
    public class SerialPortModel
    {
        [Required]
        public string PortName { get; set; } = "COM1";

        [Required]
        public int BaudRate { get; set; } = 9600;

        public int DataBits { get; set; } = 8;
    }
}
